﻿<Window x:Class="BoginyaJournal.SettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Boginya Journal - Settings" Height="334" Width="502" Topmost="True" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="150" ></ColumnDefinition>
            <ColumnDefinition ></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="55"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Label Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center">Server:</Label>
        <ComboBox Grid.Column="1" Text="{Binding Server}" Margin="5" IsEditable="True">
            <ComboBoxItem>192.168.1.3</ComboBoxItem>
            <ComboBoxItem>nauro.dyndns-home.com</ComboBoxItem>
        </ComboBox>
        <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" >
            <Button Width="100" Margin="5" Command="{Binding SaveSettingsCommand}" Click="Button_Click">OK</Button>
            <Button Width="100" Margin="5" IsCancel="True">Cancel</Button>
        </StackPanel>
    </Grid>
   
</Window>
